package com.macro.mall.tiny.modules.oms.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Tyrone
 * @date 2024/11/25 21:24
 */
@Data
public class OmsPromoCodeRebateLogQueryDTO {

    @ApiModelProperty("页码")
    private String promoCode;

    @ApiModelProperty("用户openId")
    private String openId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private Date createTimeStart;
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;

    @ApiModelProperty("分页参数")
    private Integer pageSize;

    @ApiModelProperty("分页参数")
    private Integer pageNum;
}
